import 'package:tile/style.dart';
import 'package:tile/util/img_loader.dart';

import '../res/image.gen.dart';
import 'ai_chart_self_chess_painter.dart';
import 'analysis_data_painter.dart';

const flagError = 10005;
const flagHintError = 10006;
const flagHintReduce = 10007;
const flagHintAdd = 10008;
// const flagSmile = 10009;
// const flagCry = 10010;
const flagBlackTransparent = 10011;
const flagWhiteTransparent = 10012;
const flagBlackHint = 10013;
const flagWhiteHint = 10014;
const flagAir = 10015;
const flagNavNext = 10016; //导航时下一手的标记
const flagAIChartRecommend = 10017; //AI曲线图   AI推荐实战落点
const flagEmoji1 = 10019; //表情
const flagEmoji2 = 10020;
const flagEmoji3 = 10021;
const flagEmoji4 = 10022;
const flagEmoji5 = 10023;
const tileAnalysis = 10024; // 本地分析
const tileAnalysisAINext = 10025; //AI 一手

final TileStyle tileStyle = TileStyle();

initFlagPainters() async {
  tileStyle.replaceOrAddPointPainter(flagNavNext, NavNextPainter(opacity: 0.5));
  tileStyle.replaceOrAddBoardPainter(tileAnalysis, AnalysisDataPainter());
  tileStyle.replaceOrAddBoardPainter(tileAnalysisAINext, AnalysisDataPainter());
}
